﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CoreSolution.Shop.Api.Model
{
    /// <summary>
    /// 搜索条件
    /// </summary>
    public class PageModel
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }


        /// <summary>
        /// 数目
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 排序字段
        /// </summary>
        public string OrderName { get; set; }

        /// <summary>
        /// 排序类型
        /// </summary>
        public bool OrderType { get; set; }

        /// <summary>
        /// 总数
        /// </summary>
        public int Total { get; set; }
    }
}
